package com.neusoft.feign;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.neusoft.po.CommonResult;

@FeignClient(name="food-server",fallback = FoodFeignClientCallBack.class)
public interface FoodFeignClient {
	@GetMapping("/FoodController/listFoodByBusinessId/{businessId}")
	public CommonResult<List> listFoodByBusinessId(@PathVariable("businessId") Integer businessId);
}
